<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateMBlurbTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //商品回复
        Schema::create('m_blurb', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('uid')->unsigned();
            $table->integer('mid')->unsigned();
            $table->integer('rid')->unsigned();
            $table->string('content');
            $table->string('time');
            $table->string('bip');	
			$table->enum('status', ['open', 'close']);			
            //$table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('m_blurb');
    }
}
